package jmu.edu.yjc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jmu.edu.yjc.domain.ResponseResult;
import jmu.edu.yjc.domain.entity.Menu;
import jmu.edu.yjc.domain.vo.menu.MenuVo;

import java.util.List;


/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2023-01-19 16:43:44
 */
public interface MenuService extends IService<Menu> {
    List<String> selectPermsByUserId(Long userId);
    List<MenuVo> selectRouterMenuTreeByUserId(Long userId);

    ResponseResult menuList(String menuName, String status);

    boolean hasChild(Long menuId);

    ResponseResult treeselect();

    ResponseResult roleMenuTreeselect(Long roleId);
}

